package com.pinyougou.sellergoods.service;

import com.pinyougou.entity.PageResult;
import com.pinyougou.pojo.Brand;

import java.util.List;
import java.util.Map;

public interface BrandService {
    public List<Brand> findAll();

    public PageResult<Brand> findByPage(Integer pageNum, Integer pageSize);

    void save(Brand brand);

    Brand findById(Integer id);

    void update(Brand brand);

    void delete(Integer[] ids);

    PageResult<Brand> findByPage(Brand brand, Integer pageNum, Integer pageSize);

    List<Map> selectOptions();
}
